package com.baili.service.call;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baili.dao.call.CallDao;
import com.baili.dto.ProductOrder;

/** 
 * @author iceX
 * @version 创建时间：2016年3月25日 上午10:04:45 
 * @Name: CallServiceImpl.java
 */ 
@Service
public class CallServiceImpl implements CallService{

	@Autowired
	private CallDao callDao;
	
	@Override
	public List getCallTypeList(ProductOrder productOrder) {

		return callDao.getCallTypeList(productOrder);
	}

	@Override
	public int getCallTypeCount() {

		return callDao.getCount();
	}

	@Override
	public List getCallDealType(int dealType) {
		
		return callDao.getCallDealType(dealType);
	}

	@Override
	public List getCallDetails(int id) {
		
		return callDao.getCallDetails(id);
	}

	@Override
	public List getCallTypeListByTime(String callTime, String overTime) {
		
		return callDao.getCallTypeListByTime(callTime, overTime);
	}
	
	@Override
	public List getCallYOrNHandle(ProductOrder productOrder) {
		
		return callDao.getCallYOrNHandle(productOrder);
	}

	@Override
	public void isHandleCall(int id,String overTime,int userId) {
		
		callDao.isHandleCall(id,overTime,userId);
	}
	@Override
	public void deleteCallType(int callTypeId) {
		
		callDao.deleteCallType(callTypeId);
	}


}
